% Reference Card for GNU Emacs

% Copyright (C) 1987, 1993, 1996-1997, 2001-2012
%   Free Software Foundation, Inc.

% Author: Stephen Gildea <gildea@stop.mail-abuse.org>
% Czech translation: Jan Buchal <buchal@brailcom.cz>, January 1999
% 	Milan Zamazal <pdm@zamazal.org>, August 1999
%	Pavel Jan�k <Pavel@Janik.cz>, November 2000 (Emacs 21)

% This file is part of GNU Emacs.

% GNU Emacs is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.

% GNU Emacs is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.

% You should have received a copy of the GNU General Public License
% along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.


% This file is intended to be processed by plain TeX (TeX82).
%
% The final reference card has six columns, three on each side.
% This file can be used to produce it in any of three ways:
% 1 column per page
%    produces six separate pages, each of which needs to be reduced to 80%.
%    This gives the best resolution.
% 2 columns per page
%    produces three already-reduced pages.
%    You will still need to cut and paste.
% 3 columns per page
%    produces two pages which must be printed sideways to make a
%    ready-to-use 8.5 x 11 inch reference card.
%    For this you need a dvi device driver that can print sideways.
% Which mode to use is controlled by setting \columnsperpage.

% Process the file with `csplain' from the `CSTeX' distribution (included
% e.g. in the TeX Live CD).


%**start of header

% Czech hyphenation rules applied
\chyph

% This file can be printed with 1, 2, or 3 columns per page.
% Specify how many you want here.
\newcount\columnsperpage
\columnsperpage=1

% PDF output layout.  0 for A4, 1 for letter (US), a `l' is added for
% a landscape layout.
\input pdflayout.sty
\pdflayout=(0)

\def\versionemacs{24}           % version of Emacs this is for
\def\year{2012}                 % latest copyright year

% Nothing else needs to be changed.

\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
  Permissions on back.}}

\def\copyrightnotice{
\vskip 1ex plus 2 fill\begingroup\small
\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
\centerline{For GNU Emacs version \versionemacs}
\centerline{Designed by Stephen Gildea}
\centerline{Translated by Jan Buchal, Milan Zamazal, Pavel Jan�k}

Permission is granted to make and distribute copies of
this card provided the copyright notice and this permission notice
are preserved on all copies.

For copies of the GNU Emacs manual, see:

{\tt http://www.gnu.org/software/emacs/\#Manuals}
\endgroup}

% make \bye not \outer so that the \def\bye in the \else clause below
% can be scanned without complaint.
\def\bye{\par\vfill\supereject\end}

\newdimen\intercolumnskip	%horizontal space between columns
\newbox\columna			%boxes to hold columns already built
\newbox\columnb

\def\ncolumns{\the\columnsperpage}

\message{[\ncolumns\space
  column\if 1\ncolumns\else s\fi\space per page]}

\def\scaledmag#1{ scaled \magstep #1}

% This multi-way format was designed by Stephen Gildea October 1986.
% Note that the 1-column format is fontfamily-independent.
\if 1\ncolumns			%one-column format uses normal size
  \hsize 4in
  \vsize 10in
  \voffset -.7in
  \font\titlefont=\fontname\tenbf \scaledmag3
  \font\headingfont=\fontname\tenbf \scaledmag2
  \font\smallfont=\fontname\sevenrm
  \font\smallsy=\fontname\sevensy

  \footline{\hss\folio}
  \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else				%2 or 3 columns uses prereduced size
  \hsize 3.2in
  \vsize 7.95in
  \hoffset -.75in
  \voffset -.745in
  \font\titlefont=csbx10 \scaledmag2
  \font\headingfont=csbx10 \scaledmag1
  \font\smallfont=csr6
  \font\smallsy=cmsy6
  \font\eightrm=csr8
  \font\eightbf=csbx8
  \font\eightit=csti8
  \font\eighttt=cstt8
  \font\eightmi=cmmi8
  \font\eightsy=cmsy8
  \textfont0=\eightrm
  \textfont1=\eightmi
  \textfont2=\eightsy
  \def\rm{\eightrm}
  \def\bf{\eightbf}
  \def\it{\eightit}
  \def\tt{\eighttt}
  \normalbaselineskip=.8\normalbaselineskip
  \normallineskip=.8\normallineskip
  \normallineskiplimit=.8\normallineskiplimit
  \normalbaselines\rm		%make definitions take effect

  \if 2\ncolumns
    \let\maxcolumn=b
    \footline{\hss\rm\folio\hss}
    \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  \else \if 3\ncolumns
    \let\maxcolumn=c
    \nopagenumbers
  \else
    \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
    \errmessage{Illegal number of columns per page}
  \fi\fi

  \intercolumnskip=.46in
  \def\abc{a}
  \output={%			%see The TeXbook page 257
      % This next line is useful when designing the layout.
      %\immediate\write16{Column \folio\abc\space starts with \firstmark}
      \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
      \else\if a\abc
	\global\setbox\columna\columnbox \global\def\abc{b}
        %% in case we never use \columnb (two-column mode)
        \global\setbox\columnb\hbox to -\intercolumnskip{}
      \else
	\global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  \def\multicolumnformat{\shipout\vbox{\makeheadline
      \hbox{\box\columna\hskip\intercolumnskip
        \box\columnb\hskip\intercolumnskip\columnbox}
      \makefootline}\advancepageno}
  \def\columnbox{\leftline{\pagebody}}

  \def\bye{\par\vfill\supereject
    \if a\abc \else\null\vfill\eject\fi
    \if a\abc \else\null\vfill\eject\fi
    \end}
\fi

% we won't be using math mode much, so redefine some of the characters
% we might want to talk about
\catcode`\^=12
\catcode`\_=12

\chardef\\=`\\
\chardef\{=`\{
\chardef\}=`\}

\hyphenation{mini-buf-fer}

\parindent 0pt
\parskip 1ex plus .5ex minus .5ex

\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}

% newcolumn - force a new column.  Use sparingly, probably only for
% the first column of a page, which should have a title anyway.
\outer\def\newcolumn{\vfill\eject}

% title - page title.  Argument is title text.
\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}

% section - new major section.  Argument is section name.
\outer\def\section#1{\par\filbreak
  \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  \vskip 2ex plus 1ex minus 1.5ex}

\newdimen\keyindent

% beginindentedkeys...endindentedkeys - key definitions will be
% indented, but running text, typically used as headings to group
% definitions, will not.
\def\beginindentedkeys{\keyindent=1em}
\def\endindentedkeys{\keyindent=0em}
\endindentedkeys

% paralign - begin paragraph containing an alignment.
% If an \halign is entered while in vertical mode, a parskip is never
% inserted.  Using \paralign instead of \halign solves this problem.
\def\paralign{\vskip\parskip\halign}

% \<...> - surrounds a variable name in a code example
\def\<#1>{{\it #1\/}}

% kbd - argument is characters typed literally.  Like the Texinfo command.
\def\kbd#1{{\tt#1}\null}	%\null so not an abbrev even if period follows

% beginexample...endexample - surrounds literal text, such a code example.
% typeset in a typewriter font with line breaks preserved
\def\beginexample{\par\leavevmode\begingroup
  \obeylines\obeyspaces\parskip0pt\tt}
{\obeyspaces\global\let =\ }
\def\endexample{\endgroup}

% key - definition of a key.
% \key{description of key}{key-name}
% prints the description left-justified, and the key-name in a \kbd
% form near the right margin.
\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.75\hsize\rightskip=1em
  \hskip\keyindent\relax#1}\kbd{#2}\hfil}}

\newbox\metaxbox
\setbox\metaxbox\hbox{\kbd{M-x }}
\newdimen\metaxwidth
\metaxwidth=\wd\metaxbox

% metax - definition of a M-x command.
% \metax{description of command}{M-x command-name}
% Tries to justify the beginning of the command name at the same place
% as \key starts the key name.  (The "M-x " sticks out to the left.)
\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  {\hskip\keyindent\relax#1\hfil}%
  \hskip -\metaxwidth minus 1fil
  \kbd{#2}\hfil}}

% threecol - like "key" but with two key names.
% for example, one for doing the action backward, and one for forward.
\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
  &\kbd{#3}\hfil\quad\cr}

%**end of header


\title{GNU Emacs -- Referen�n� karta}

\centerline{(pro verzi \versionemacs)}

\section{Spu�t�n� Emacsu}

Pro vstup do GNU~Emacsu~\versionemacs{} napi�te jeho jm�no: \kbd{emacs}

Jak na��tat a editovat soubory se dozv�te n��e v~odd�le Soubory.


\section{Opu�t�n� Emacsu}

\key{pozastaven� Emacsu (ikonizace v~X11)}{C-z}
\key{definitivn� odchod z~Emacsu}{C-x C-c}

\section{Soubory}

\key{{\bf na��st} souboru do Emacsu}{C-x C-f}
\key{{\bf ulo�it} soubor zp�t na disk}{C-x C-s}
\key{ulo�it {\bf v�echny} soubory}{C-x s}
\key{{\bf vlo�it} obsahu jin�ho souboru do bufferu}{C-x i}
\key{zam�nit tento soubor jin�m souborem}{C-x C-v}
\key{zapsat buffer do zadan�ho souboru}{C-x C-w}
\key{vlo�it do syst�mu spr�vy verz�}{C-x C-q}

\section{Pou��v�n� n�pov�dy}

Syst�m n�pov�dy je snadn�. Stiskn�te \kbd{C-h} (nebo \kbd{F1}) a sledujte
instrukce. �vodn� {\bf tutori�l} lze spustit pomoc� \kbd{C-h t}.

\key{odstranit okno s~n�pov�dou}{C-x 1}
\key{rolovat okno s~n�pov�dou}{C-M-v}

\key{apropos: p��kazy odpov�daj�c� �et�zci}{C-h a}
\key{zobrazit funkci dan� kl�vesy}{C-h c}
\key{zobrazit popis funkce}{C-h f}
\key{zobrazit informace o~aktu�ln�ch m�dech}{C-h m}

\section{Opravy chyb}

\key{{\bf p�eru�it} zad�van� nebo vykon�van� p��kaz}{C-g}
\metax{{\bf obnovit} soubor ztracen� p�dem syst�mu}{M-x recover-file}
\key{{\bf zru�it} necht�nou zm�nu}{C-x u {\it n.} C-_}
\metax{vr�tit p�vodn� obsah bufferu}{M-x revert-buffer}
\key{p�ekreslit \uv{rozpadlou} obrazovku}{C-l}

\section{P��r�stkov� vyhled�v�n�}

\key{vyhledat dop�edu}{C-s}
\key{vyhledat dozadu}{C-r}
\key{vyhledat regul�rn� v�raz}{C-M-s}
\key{vyhledat regul�rn� v�raz dozadu}{C-M-r}

\key{p�edchoz� vyhled�van� �et�zec}{M-p}
\key{n�sleduj�c� nov�j�� vyhled�van� �et�zec}{M-n}
\key{ukon�it inkrement�ln� vyhled�v�n�}{RET}
\key{zru�it efekt posledn�ho zadan�ho znaku}{DEL}
\key{p�eru�it prob�haj�c� vyhled�v�n�}{C-g}

Dal�� \kbd{C-s} nebo \kbd{C-r} zopakuje vyhled�n� v~dan�m sm�ru. Pokud
Emacs vyhled�v�, \kbd{C-g} zru�� pouze nenalezenou ��st �et�zce.


\shortcopyrightnotice

\section{Pohyb}

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf posun o }}{{\bf dozadu}}{{\bf dop�edu}}
\threecol{znak}{C-b}{C-f}
\threecol{slovo}{M-b}{M-f}
\threecol{��dek}{C-p}{C-n}
\threecol{na za��tek nebo konec ��dku}{C-a}{C-e}
\threecol{v�tu}{M-a}{M-e}
\threecol{odstavec}{M-\{}{M-\}}
\threecol{str�nku}{C-x [}{C-x ]}
\threecol{symbolick� v�raz}{C-M-b}{C-M-f}
\threecol{funkci}{C-M-a}{C-M-e}
\threecol{na za��tek nebo konec bufferu}{M-<}{M->}
}

\key{rolovat na dal�� obrazovku}{C-v}
\key{rolovat na p�edchoz� obrazovku}{M-v}
\key{rolovat vlevo}{C-x <}
\key{rolovat vpravo}{C-x >}
\key{aktu�ln� ��dek do st�edu obrazovky}{C-u C-l}

\section{Ru�en� a maz�n�}

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf ru�en� objekt }}{{\bf dozadu}}{{\bf dop�edu}}
\threecol{znak (maz�n�, ne ru�en�)}{DEL}{C-d}
\threecol{slovo}{M-DEL}{M-d}
\threecol{��dek (do konce)}{M-0 C-k}{C-k}
\threecol{v�ta}{C-x DEL}{M-k}
\threecol{symbolick� v�raz}{M-- C-M-k}{C-M-k}
}

\key{zru�it {\bf oblast}}{C-w}
\key{zkop�rovat oblast do schr�nky}{M-w}
\key{zru�it a� po nejbli��� v�skyt znaku {\it znak}}{M-z {\it znak}}

\key{vhodit naposledy zru�en� objekt}{C-y}
\key{nahradit vhozen� objekt p�edchoz�m zru�en�m}{M-y}

\section{Ozna�ov�n�}

\key{vlo�it zna�ku}{C-@ {\it n.} C-SPC}
\key{prohodit kurzor a zna�ku}{C-x C-x}

\key{ozna�it zadan� po�et {\bf slov}}{M-@}
\key{ozna�it {\bf odstavec}}{M-h}
\key{ozna�it {\bf str�nku}}{C-x C-p}
\key{ozna�it {\bf symbolick� v�raz}}{C-M-@}
\key{ozna�it {\bf funkci}}{C-M-h}
\key{ozna�it cel� {\bf buffer}}{C-x h}

\section{Interaktivn� nahrazov�n�}

\key{interaktivn� nahradit textov� �et�zec}{M-\%}
\metax{s~u�it�m regul�rn�ho v�razu}{M-x query-replace-regexp}

Platn� odpov�di v~m�du query-replace jsou

\key{{\bf z�m�nu prov�st} a j�t na dal��}{SPC}
\key{z�m�nu prov�st a z�stat na m�st�}{,}
\key{{\bf sko�it} na dal�� bez proveden� z�m�ny}{DEL}
\key{zam�nit v�echny zb�vaj�c� v�skyty}{!}
\key{{\bf zp�t} na p�edchoz� v�skyt �et�zce}{^}
\key{{\bf konec} nahrazov�n�}{RET}
\key{rekurzivn� editace (ukon�� se \kbd{C-M-c})}{C-r}

\section{Okna}

Jestli�e jsou zobrazeny dva p��kazy, pak ten druh� plat� pro X okno.

\key{zru�it v�echna ostatn� okna}{C-x 1}

{\setbox0=\hbox{\kbd{0}}\advance\hsize by 0\wd0
\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{rozd�lit okno na horn� a doln�}{C-x 2\ \ \ \ }{C-x 5 2}
\threecol{zru�it toto okno}{C-x 0\ \ \ \ }{C-x 5 0}
}}
\key{rozd�lit okno na lev� a prav�}{C-x 3}

\key{rolovat jin� okno}{C-M-v}

{\setbox0=\hbox{\kbd{0}}\advance\hsize by 2\wd0
\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{p�epnout kurzor do jin�ho okna}{C-x o}{C-x 5 o}

\threecol{vybrat buffer v~jin�m okn�}{C-x 4 b}{C-x 5 b}
\threecol{zobrazit buffer v~jin�m okn�}{C-x 4 C-o}{C-x 5 C-o}
\threecol{otev��t soubor v~jin�m okn�}{C-x 4 f}{C-x 5 f}
\threecol{otev��t soubor jen pro �ten� v~jin�m okn�}{C-x 4 r}{C-x 5 r}
\threecol{spustit Dired v~jin�m okn�}{C-x 4 d}{C-x 5 d}
\threecol{naj�t tag v~jin�m okn�}{C-x 4 .}{C-x 5 .}
}}

\key{zv�t�it okno}{C-x ^}
\key{z��it okno}{C-x \{}
\key{roz���it okno}{C-x \}}

\section{Form�tov�n�}

\key{odsadit aktu�ln� {\bf ��dek} (dle m�du)}{TAB}
\key{odsadit {\bf oblast} (dle m�du)}{C-M-\\}
\key{odsadit {\bf symbolick� v�raz} (dle m�du)}{C-M-q}
\key{odsadit oblast napevno o~{\it argument\/} sloupc�}{C-x TAB}

\key{vlo�it znak nov�ho ��dku za kurzor}{C-o}
\key{posunout zbytek ��dku svisle dol�}{C-M-o}
\key{smazat pr�zdn� ��dky okolo kurzoru}{C-x C-o}
\key{spojit ��dek s~p�edchoz�m (s~arg.~s~n�sl.)}{M-^}
\key{smazat pr�zdn� m�sto kolem kurzoru}{M-\\}
\key{nechat p�esn� jednu mezeru kolem kurzoru}{M-SPC}

\key{zalomit odstavec}{M-q}
\key{nastavit sloupec pro zalamov�n�}{C-x f}
\key{nastavit prefix, kter�m za��naj� ��dky}{C-x .}
\key{nastavit font}{M-g}

\section{Zm�na velikosti p�smen}

\key{zm�nit p�smena slova na velk�}{M-u}
\key{zm�nit p�smena slova na mal�}{M-l}
\key{zm�nit po��te�n� p�smeno slova na velk�}{M-c}

\key{zm�nit p�smena oblasti na velk�}{C-x C-u}
\key{zm�nit p�smena oblasti na mal�}{C-x C-l}

\section{Minibuffer}

N�sleduj�c� kl�vesy jsou platn� pro minibuffer.

\key{doplnit z~nab�dky}{TAB}
\key{doplnit do nejbli���ho slova}{SPC}
\key{doplnit a vykonat}{RET}
\key{zobrazit mo�n� dopln�n�}{?}
\key{p�edchoz� p��kaz z~minibufferu}{M-p}
\key{nov�j�� nebo implicitn� p��kaz z~minibufferu}{M-n}
\key{vyhledat regul�rn� v�raz v~historii vzad}{M-r}
\key{vyhledat regul�rn� v�raz v~historii vp�ed}{M-s}
\key{zru�it p��kaz}{C-g}

Stiskn�te \kbd{C-x ESC ESC} pro editaci a zopakov�n� posledn�ho p��kazu
z~minibufferu.  Stiskn�te \kbd{F10} pro aktivaci menu v~minibufferu.

\newcolumn
\title{GNU Emacs -- Referen�n� karta}

\section{Buffery}

\key{vybrat jin� buffer}{C-x b}
\key{seznam v�ech buffer�}{C-x C-b}
\key{zru�it buffer}{C-x k}

\section{V�m�ny}

\key{p�ehodit {\bf znaky}}{C-t}
\key{p�ehodit {\bf slova}}{M-t}
\key{p�ehodit {\bf ��dky}}{C-x C-t}
\key{p�ehodit {\bf symbolick� v�razy}}{C-M-t}

\section{Kontrola pravopisu}

\key{kontrola pravopisu aktu�ln�ho slova}{M-\$}
\metax{kontrola pravopisu v�ech slov v  oblasti}{M-x ispell-region}
\metax{kontrola pravopisu cel�ho bufferu}{M-x ispell-buffer}

\section{Tagy}

\key{naj�t tag (definici)}{M-.}
\key{naj�t dal�� v�skyt tagu}{C-u M-.}
\metax{zadat soubor s nov�mi tagy}{M-x visit-tags-table}

\metax{vyhledat reg.\ v�raz v~souborech s~tagy}{M-x tags-search}
\metax{spustit nahrazov�n� pro ony soubory}{M-x tags-query-replace}
\key{pokra�ovat v~prohled�v�n� nebo nahrazov�n�}{M-,}

\section{P��kazov� interpret}

\key{vykonat shellov� p��kaz}{M-!}
\key{vykonat shellov� p��kaz na oblast}{M-|}
\key{zfiltrovat oblast shellov�m p��kazem}{C-u M-|}
\key{spustit shell v okn� \kbd{*shell*}}{M-x shell}

\section{Obd�ln�ky}

\key{zkop�rovat obd�ln�k do registru}{C-x r r}
\key{zru�it obd�ln�k}{C-x r k}
\key{vhodit obd�ln�k}{C-x r y}
\key{vlo�it obd�ln�k mezer}{C-x r o}
\key{nahradit obd�ln�k obd�ln�kem mezer}{C-x r c}
\key{nahradit ��dky obd�ln�ku zadan�m �et�zcem}{C-x r t}

\section{Zkratky}

\key{p�idat glob�ln� zkratku}{C-x a g}
\key{p�idat lok�ln� zkratku}{C-x a l}
\key{p�idat glob�ln� expanzi pro zkratku }{C-x a i g}
\key{p�idat lok�ln� expanzi pro zkratku}{C-x a i l}
\key{expandovat zkratku}{C-x a e}

\key{dynamick� expanze p�edch�zej�c�ho slova}{M-/}

\section{Regul�rn� v�razy}

\key{libovoln� znak krom� nov�ho ��dku}{. {\rm(te�ka)}}
\key{��dn� nebo n�kolik opakov�n�}{*}
\key{jedno nebo v�ce opakov�n�}{+}
\key{��dn� nebo jedno opakov�n�}{?}
\key{zru�it zvl�tn� v�znam znaku {\it c\/} ve v�razu}{\\{\it c}}
\key{alternativa (\uv{nebo})}{\\|}
\key{skupina}{\\( {\rm$\ldots$} \\)}
\key{stejn� text jako {\it n\/}-t� skupina}{\\{\it n}}
\key{hranice slova}{\\b}
\key{nikoliv hranice slova}{\\B}

\paralign to \hsize{#\tabskip=10pt plus 1 fil&#\tabskip=0pt&#\cr
\threecol{{\bf element}}{{\bf za��tek}}{{\bf konec}}
\threecol{��dek}{^}{\$}
\threecol{slovo}{\\<}{\\>}
\threecol{buffer}{\\`}{\\'}

\threecol{{\bf t��da znak�}}{{\bf odpov�d�}}{{\bf neodpov�d�}}
\threecol{explicitn� mno�ina}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]}
\threecol{slovotvorn� znak}{\\w}{\\W}
\threecol{znak se syntax� {\it c}}{\\s{\it c}}{\\S{\it c}}
}

\section{Mezin�rodn� znakov� sady}

\metax{zadat hlavn� jazyk}{M-x set-language-environment}
\metax{zobrazit v�echny vstupn� metody}{M-x list-input-methods}
\key{zapnout nebo vypnout vstupn� metodu}{C-\\}
\key{zadat k�dov�n� pro n�sleduj�c� p��kaz}{C-x RET c}
\metax{zobrazit v�echna k�dov�n�}{M-x list-coding-systems}
\metax{zm�nit preferovan� k�dov�n�}{M-x prefer-coding-system}

\section{Info}

\key{spustit Info}{C-h i}
\key{naj�t zadanou funkci nebo prom�nnou v~Info}{C-h C-i}
\beginindentedkeys

Pohyb uvnit� uzl�:

\key{rolov�n� vp�ed}{SPC}
\key{rolov�n� zp�t}{DEL}
\key{na za��tek uzlu}{. {\rm (te�ka)}}

Pohyb mezi uzly:

\key{{\bf dal��} uzel}{n}
\key{{\bf p�edchoz�} uzel}{p}
\key{{\bf nad�azen�} uzel}{u}
\key{vybrat z~menu podle n�zvu}{m}
\key{vybrat {\it n\/}-tou polo�ku menu (1--9)}{{\it n}}
\key{nejbli��� p���t� k���ov� odkaz (n�vrat \kbd{l})}{f}
\key{vr�tit se do naposledy prohl��en�ho uzlu}{l}
\key{vr�tit se do adres��e uzl�}{d}
\key{p�ej�t do kter�hokoliv uzlu podle jm�na}{g}

Dal��:

\key{spustit {\bf tutori�l} k~Info}{h}
% \key{look up a subject in the indices}{i} % FIXME
\key{prohledat uzly na �et�zec}{M-s}
\key{{\bf ukon�it} Info}{q}

\endindentedkeys

\section{Registry}

\key{ulo�it oblast do registru}{C-x r s}
\key{vlo�it obsah registru do bufferu}{C-x r i}

\key{ulo�it pozici kurzoru do registru}{C-x r SPC}
\key{sko�it na pozici ulo�enou v~registru}{C-x r j}

\section{Kl�vesov� makra}

\key{{\bf zah�jit} definov�n� kl�vesov�ho makra}{C-x (}
\key{{\bf zakon�it} definov�n� kl�vesov�ho makra}{C-x )}
\key{{\bf vykonat} posledn� definovan� makro}{C-x e}
\key{p�ipojit k~posledn�mu kl�vesov�mu makru}{C-u C-x (}
\metax{pojmenovat posledn� makro}{M-x name-last-kbd-macro}
\metax{vlo�it do bufferu lispovou definici}{M-x insert-kbd-macro}

\section{P��kazy souvisej�c� s~Emacs Lispem}

\key{vyhodnotit {\bf v�raz} p�ed kurzorem}{C-x C-e}
\key{vyhodnotit {\bf funkci} pod kurzorem}{C-M-x}
\metax{vyhodnotit {\bf oblast}}{M-x eval-region}
\key{na��st a vyhodnotit v�raz v~minibufferu}{M-:}
\metax{na��st soubor ze syst�mov�ho adres��e}{M-x load-library}

\section{Jednoduch� p�izp�soben�}

\metax{nastavit prom�nn� a faces}{M-x customize}

% The intended audience here is the person who wants to make simple
% customizations and knows Lisp syntax.

Definice obecn� kl�vesov� zkratky v~Emacs Lispu (p��klad):

\beginexample%
(global-set-key "\\C-cg" 'goto-line)
(global-set-key "\\M-\#" 'query-replace-regexp)
\endexample

\section{Z�pis p��kaz�}

\beginexample%
(defun \<command-name> (\<args>)
  "\<documentation>" (interactive "\<template>")
  \<body>)
\endexample

P��klad:

\beginexample%
(defun this-line-to-top-of-window (line)
  "Reposition line point is on to top of window.
With ARG, put point on line ARG."
  (interactive "P")
  (recenter (if (null line)
                0
              (prefix-numeric-value line))))
\endexample

Specifikace \kbd{interactive} ��k�, jak interaktivn� na��st ar\-gu\-men\-ty.
V�ce se dozv�te po proveden� \kbd{C-h f interactive}.

\copyrightnotice

\bye

% Local variables:
% compile-command: "csplain cs-refcard"
% End:

